package com.nbst.model.mes;

import java.util.Date;

/**
 * 
 * @ClassName: LockStock
 * @Description:MES锁库表(基本上和ERP锁库表一致)
 * @author King
 * @date 2019年7月22日
 *
 */
public class LockStock {

	/** id */
	private Integer id;

	/** 订单分录主键 */
	private Integer fDetailID;

	/** 订单内码 */
	private Integer fInterID;

	/** 订单分录内码 */
	private Integer fEntryID;

	/** 物料内码 */
	private Integer fItemID;

	/** 仓库id */
	private Integer fStockID;

	/** 锁定数量 */
	private Double fQty;

	/** 制单时间 */
	private Date fDate;

	/** 物料名称 */
	private String fName;

	/** 物料代码 */
	private String fNumber;

	/** 规格型号 */
	private String fModel;

	/** 关闭标志 */
	private Integer fClosed;

	/** 制单人内码 */
	private Integer fBiller;

	/** 更新时间 */
	private Date updateTime;

	/** 制单人名称 */
	private String fBillerName;

	/** 锁单类型 81为销售订单锁库 88为投料单锁库 */
	private Integer fTranType;

	/** 原锁单数量 */
	private Double fOrgQty;
	
	private Integer fID;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getfDetailID() {
		return fDetailID;
	}

	public void setfDetailID(Integer fDetailID) {
		this.fDetailID = fDetailID;
	}

	public Integer getfInterID() {
		return fInterID;
	}

	public void setfInterID(Integer fInterID) {
		this.fInterID = fInterID;
	}

	public Integer getfEntryID() {
		return fEntryID;
	}

	public void setfEntryID(Integer fEntryID) {
		this.fEntryID = fEntryID;
	}

	public Integer getfItemID() {
		return fItemID;
	}

	public void setfItemID(Integer fItemID) {
		this.fItemID = fItemID;
	}

	public Integer getfStockID() {
		return fStockID;
	}

	public void setfStockID(Integer fStockID) {
		this.fStockID = fStockID;
	}

	public Double getfQty() {
		return fQty;
	}

	public void setfQty(Double fQty) {
		this.fQty = fQty;
	}

	public Date getfDate() {
		return fDate;
	}

	public void setfDate(Date fDate) {
		this.fDate = fDate;
	}

	public String getfName() {
		return fName;
	}

	public void setfName(String fName) {
		this.fName = fName == null ? null : fName.trim();
	}

	public String getfNumber() {
		return fNumber;
	}

	public void setfNumber(String fNumber) {
		this.fNumber = fNumber == null ? null : fNumber.trim();
	}

	public String getfModel() {
		return fModel;
	}

	public void setfModel(String fModel) {
		this.fModel = fModel == null ? null : fModel.trim();
	}

	public Integer getfClosed() {
		return fClosed;
	}

	public void setfClosed(Integer fClosed) {
		this.fClosed = fClosed;
	}

	public Integer getfBiller() {
		return fBiller;
	}

	public void setfBiller(Integer fBiller) {
		this.fBiller = fBiller;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getfBillerName() {
		return fBillerName;
	}

	public void setfBillerName(String fBillerName) {
		this.fBillerName = fBillerName;
	}

	public Integer getfTranType() {
		return fTranType;
	}

	public void setfTranType(Integer fTranType) {
		this.fTranType = fTranType;
	}

	public Double getfOrgQty() {
		return fOrgQty;
	}

	public void setfOrgQty(Double fOrgQty) {
		this.fOrgQty = fOrgQty;
	}

	public Integer getfID() {
		return fID;
	}

	public void setfID(Integer fID) {
		this.fID = fID;
	}

	@Override
	public String toString() {
		return "LockStock [id=" + id + ", fDetailID=" + fDetailID + ", fInterID=" + fInterID + ", fEntryID=" + fEntryID
				+ ", fItemID=" + fItemID + ", fStockID=" + fStockID + ", fQty=" + fQty + ", fDate=" + fDate + ", fName="
				+ fName + ", fNumber=" + fNumber + ", fModel=" + fModel + ", fClosed=" + fClosed + ", fBiller="
				+ fBiller + ", updateTime=" + updateTime + ", fBillerName=" + fBillerName + ", fTranType=" + fTranType
				+ ", fOrgQty=" + fOrgQty + "]";
	}

}